package com.liqi.frame.comm.controller.monitor;

import com.liqi.frame.comm.aop.FullPage;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;

/**
 * @author liqi on 2020/1/18 0018. liqiwork@qq.com
 */
@Controller
@RequestMapping("/monitor")
public class MonitorController {
    /**
     * 服务器信息
     * @param request
     * @return
     */
    @FullPage(menu = "monitor_server")
    @RequestMapping({"server"})
    public ModelAndView server(HttpServletRequest request) {
        return new ModelAndView("comm/monitor/server");
    }

//    @FullPage(menu = "monitor_druid")
    @RequestMapping({"druid"})
    public ModelAndView druid(HttpServletRequest request){
        return new ModelAndView("comm/monitor/druid");
    }


}
